package com.ranjiaqi.thread01;

/**
 * @ClassName Test
 * @Description TODO
 * @Author hp
 * @Date 2021/6/28 18:22
 * @Version 1.0
 **/
public class Test {
    public static void main(String[] args) {
        //创建子类对象
        SubThread testThread = new SubThread();
        //调用子类继承的方法start()启动线程
        testThread.start();
        for (int i = 0; i < 50; i++) {
            System.out.println("main ： " + i);
        }

    }
}
